<script setup>
const globalData = window.microApp.getGlobalData()
console.log(globalData.curMenuKey)
console.log(globalData.curUrl)
console.log('data222', globalData,)
</script>

<template>
  <main>
    子应用 <strong>sub2</strong> 的首页 <br/>
    <input type="text">
    {{ `当前应用url: ${globalData.curUrl}, 当前应用的key：${globalData.curMenuKey}` }}
  </main>
</template>
